cc=g++
PARSER=parser
DUG=debug
HTTPSERVER=httpserver

.PHONY:all
all: $(PARSER) $(DUG) $(HTTPSERVER)

$(DUG): debug.cc
	$(cc) -o  $@ $^ -ljsoncpp  -std=c++11

$(PARSER): parser.cc
	$(cc) -o  $@ $^ -lboost_system -lboost_filesystem -std=c++11

$(HTTPSERVER): http_server.cc
	$(cc) -o  $@ $^ -std=c++11 -ljsoncpp
.PHONY:clean
clean:
	rm -rf  parser debug httpserver
	